const ApiRootUrl = 'https://yaochiwanback.bluej.cn/api/';

module.exports = {
  LoginUrl: ApiRootUrl + 'login/login', //登陆
  IndexUrl: ApiRootUrl + 'index/index', //首页数据接口
  CreateOrderUrl: ApiRootUrl + 'order/create_order', // 创建订单
  ShopTypeListUrl: ApiRootUrl + 'shop/get_shop_type_list',   // 商品类型列表
  ShopListUrl: ApiRootUrl + 'shop/get_shop_list',   // 商品列表
  GetCart: ApiRootUrl + 'order/get_cart', //获取购物车
  AddCart: ApiRootUrl + 'order/add_cart', //添加购物车
  DelCart: ApiRootUrl + 'order/del_cart', //清空购物车
  UpDateCartNum: ApiRootUrl + '/order/update_cart_num', //更新购物车数量
  ShopGoodsDetailUrl: ApiRootUrl + 'shop/get_goods_detail', // 商品详情
  ShopGoodsSpecifUrl: ApiRootUrl + 'shop/get_goods_specification', // 商品规格
  ShopGoodsCarUrl: ApiRootUrl + "shop/get_shop_carousel",

  ShopfoodUrl: ApiRootUrl + 'food/get_food_spec',//美食餐厅
  ShopfoodlistUrl:ApiRootUrl+'food/get_food_list',//食物列表
  ShopfooddetailUrl:ApiRootUrl+'food/get_food_detail',//食物详情
  create_refund: ApiRootUrl + "refund/create_refund",//提交售后订单
  refund_reason: ApiRootUrl + "refund/refund_reason",  //退货原因
  self_order: ApiRootUrl + "order/self_order", //请求订单列表
  home:ApiRootUrl + "home/home",//获取主页信息
  get_scenic_list: ApiRootUrl + "scenic/get_scenic_list", //景区列表
  get_scenic_detail: ApiRootUrl + "scenic/get_scenic_detail", //景区细节
  get_scenic_content: ApiRootUrl + "scenic/get_scenic_content", //景区详情
  get_activity_list: ApiRootUrl + "activity/get_activity_list",//获取活动列表（发现）
  activity_detail: ApiRootUrl + "activity/activity_detail",//获取活动详情和报名情况
  join_activity: ApiRootUrl + "activity/join_activity",//活动报名
  UploadInvoice: ApiRootUrl + 'home/upload_invoice', //上传发票
  GetSay: ApiRootUrl + 'home/get_say', //获取客人说
  UploadSay: ApiRootUrl + 'home/upload_say', //上传客人说
  collect: ApiRootUrl +'page/add_collect',//收藏页面
  collectdatail:ApiRootUrl+'page/get_collect',//收藏详情
}; 
